package com.hc.model.code03.test4;

/**
 * @version v1.0
 * @ClassName: FriedNoodles
 * @Description: 具体构件 炒面类
 * @Author: HC
 */
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(20, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }


}
